# -*- coding: utf-8 -*-
"""
Spyder Editor

This is a temporary script file.
"""

from urllib import request
import re
import time
s=input("请输入：")
sous=s.replace(' ','')
sr = "http://translate.google.cn/translate_a/\
single?client=gtx&sl=en&tl=zh-CN&dt=t&q="+sous
resp = request.urlopen(sr)
li = resp.read().decode()
pat = re.compile(r'[\u4e00-\u9fa5]+')
ans = pat.findall(li)
print(ans)
time.sleep(3)